package com.tang.service.admin.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tang.common.utils.excel.annotation.ExcelEnum;
import com.tang.common.utils.excel.converter.EnumConverter;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import com.tang.framework.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "字典类型表")
@TableName(value = "sys_dict_type")
public class SysDictType extends BaseEntity<SysDictType>{


    @Schema(description = "字典类型名称")
    @ExcelProperty(value = "字典类型名称")
    @TableField(value = "name")
    private String name;


    @Schema(description = "字典描述")
    @ExcelProperty(value = "字典描述")
    @TableField(value = "`desc`")
    private String desc;



    @Schema(description = "状态")
    @ExcelProperty(value = "状态")
    @TableField(value = "`status`")
    private Boolean status;

    @Schema(description = "是否为枚举字典")
    @TableField(value = "`enum_`")
    private Boolean enum_;


    @Deprecated
    @Schema(description = "是否创建了枚举字段")
    @TableField(value = "create_enum")
    private Boolean createEnum;
}
